<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .icon img {
        cursor: pointer;
      }

      #content {
        word-spacing: 20px;
      }

      #content img {
        margin: 0 5px;
      }
    </style>
  </head>
  <body>
    <div class="icon">
      <img src="img/01.gif" alt="" />
      <img src="img/02.gif" alt="" />
      <img src="img/03.gif" alt="" />
      <img src="img/04.gif" alt="" />
      <img src="img/05.gif" alt="" />
      <img src="img/06.gif" alt="" />
      <img src="img/07.gif" alt="" />
      <img src="img/08.gif" alt="" />
      <img src="img/09.gif" alt="" />
      <img src="img/10.gif" alt="" />
      <img src="img/11.gif" alt="" />
      <img src="img/12.gif" alt="" />
    </div>
    <div>
      内容：
      <p id="content"></p>
    </div>

    <script src="jquery.min.js"></script>
    <script>
      let icons = $(".icon img");

      let content = $("#content");

      icons.on("click", (e) => {
        let copy = $(e.target).clone();
        content.append(copy);
      });
    </script>
  </body>
</html>
